package com.bjpowernode.validator.enums;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ClassName:ErrorCode
 * Package:com.bjpowernode.validator.enums
 * Description: 描述信息
 *
 * @date:2022/3/19 13:14
 * @author:动力节点
 */

public enum   ErrorCode {

    PARAM_ERROR("1000","参数不正确");
    private String code;
    private String msg;

    ErrorCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    ErrorCode() {
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
